import request from '@/utils/request'

export function initData(o) {
  let { url, method = 'POST', data, cType = 1 } = o;
  return request({
    url: url,
    method: method,
    data:data,
    cType
  })
}